<template>
    <h1>这是评分页面</h1>
    <!-- 通过:的方式输入 -->
    <Rate :value="score"></Rate>
</template>

<script setup>
import {ref} from 'vue'
import Rate from '../components/Rate.vue'
let score = ref(3)

</script>